class Room < ActiveRecord::Base
  
  validates_presence_of    :code
  validates_presence_of    :capacity
  validates_presence_of    :company_id
  
  belongs_to :company
  has_many :computers
  has_and_belongs_to_many :networks
  
end
